package com.winhxd.b2c.customer.dao;


import com.winhxd.b2c.common.domain.customer.model.CustomerDistributorChannel;
import com.winhxd.b2c.common.domain.customer.model.CustomerDistributorLevel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDistributorChannelMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CustomerDistributorChannel record);

    int insertSelective(CustomerDistributorChannel record);

    CustomerDistributorChannel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomerDistributorChannel record);

    int updateByPrimaryKey(CustomerDistributorChannel record);

    List<CustomerDistributorLevel> selectDistriButorLevelByChannelId(@Param("channelId") Long channelId);
}